home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 039a / mawk10.zip / V7.H < prev    next >
C/C++ Source or Header  |  1991-10-05  |  2KB  |  77 lines

  1.  
  2. /********************************************
  3. V7.h
  4. copyright 1991, Michael D. Brennan
  5.  
  6. This is a source file for mawk, an implementation of
  7. the AWK programming language.
  8.  
  9. Mawk is distributed without warranty under the terms of
  10. the GNU General Public License, version 2, 1991.
  11. ********************************************/
  12.  
  13. /*
  14. The port of mawk to V7 is the work of
  15. Carl Mascott (cmascott@world.std.com)
  16. */
  17.  
  18. /*$Log:    V7.h,v $
  19.  * Revision 4.1  91/09/25  11:40:41  brennan
  20.  * VERSION 1.0
  21.  * 
  22.  * Revision 1.5  91/09/12  16:11:10  brennan
  23.  * *** empty log message ***
  24.  * 
  25.  * Revision 1.4  91/08/16  08:22:09  brennan
  26.  * Carl's addition of SW_FP_CHECK for XNX23A
  27.  * 
  28.  * Revision 1.3  91/08/13  09:04:07  brennan
  29.  * VERSION .9994
  30.  * 
  31.  * Revision 1.2  91/06/15  09:28:54  brennan
  32.  * Carl's diffs for V7
  33.  * 
  34.  * 06/11/91  C. Mascott        change NO_FMOD to HAVE_FMOD
  35.  *                change NO_STRTOD to HAVE_STRTOD
  36.  *
  37.  * Revision 1.1  91/06/10  14:20:03  brennan
  38.  * Initial revision
  39.  * 
  40. */
  41.  
  42. #ifndef   CONFIG_H
  43. #define   CONFIG_H        1
  44.  
  45. #define                V7
  46.  
  47.  
  48. #define   HAVE_VOID_PTR        0
  49. #define   HAVE_STRTOD           0
  50. #define   HAVE_FMOD             0
  51. #define   HAVE_MATHERR        0
  52.  
  53. #define   HAVE_STRING_H        0
  54. #define   HAVE_FCNTL_H        0
  55.  
  56.  
  57. #define   O_RDONLY        0
  58. #define   O_WRONLY        1
  59. #define   O_RDWR        2
  60.  
  61. #define   vfprintf(s,f,a)  _doprnt(f,a,s)
  62. #define   strchr    index
  63. #define   strrchr    rindex
  64.  
  65. #ifdef XNX23A
  66. /* convert double to Boolean.  This is a bug work-around for
  67.    XENIX-68K 2.3A, where logical test of double doesn't work.  This
  68.    macro NG for register double. */
  69. #define   D2BOOL(x)    (*((long *) &(x)))
  70. #define   SW_FP_CHECK    1
  71. #endif
  72.  
  73.  
  74.  
  75. #include  "config/Idefault.h"
  76. #endif  /* CONFIG_H */
  77.